package io.github.shang11925.sbvuewelearn.service;

import io.github.shang11925.sbvuewelearn.dto.VideoResourcesDTO;
import io.github.shang11925.sbvuewelearn.entity.VideoResources;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface VideoResourcesService {
    List<VideoResources> findBySectionId(Long section_id);

    void uploadCover(MultipartFile file, VideoResourcesDTO blog) throws IOException;

    void add(VideoResourcesDTO videoResourcesDTO);
}
